package org.sharing.dao;

import java.util.List;
import org.sharing.pojo.Official;

public interface OfficialDao {
	public List<Official> findByPage(int type,int offset);
	public List<Official> manageByPage(int no);
	public List<Official> manageByPage(int no,int type,String cid,int sqe);
	public List<Official> userByPage(int no,String owner);
	public List<Integer> manageGetCount(int type,String cid);
	public List<Integer> manageGetCount();
	public List<Integer> userGetCount(String owner);
	public List<Integer> getCount(String name,String author,int type);
	public Integer parse(String str);
	public List<Official> search(String name, String author, int type, int offset);
	public Official get(int id);
	public void update(Official official);
	public void del(Official official);
	public Integer save(Official official);
}
